<template>
  <div>
    <p v-if="seen">可以看到</p>
    <template v-if="ok">
      <h1>hlx</h1>
      <p>bacd</p>
    </template>
  </div>
</template>

<script>
export default {
  name: 'vIf',
  data () {
    return {
      seen: true,
      ok: false
    }
  }
}
</script>
